package gat.domain.service.tg.impl;

import com.bitsun.core.common.persistence.BasePService;
import com.bitsun.core.common.persistence.IPService;
import gat.convertor.tg.AccountOrderReqDtoConvertor;
import gat.convertor.tg.AccountOrderResDtoConvertor;
import gat.domain.service.tg.AccountOrderDomainService;
import gat.infrastructure.persistence.dao.tg.AccountOrderMapper;
import gat.infrastructure.persistence.po.tg.AccountOrderPo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: Felix Woo （junfengwstar@gmail.com）
 * @Date: 2019-09-20 19:40
 * @Version: 1.0
 * @Description:
 */
@Slf4j
@Service("accountOrderDomainService")
public class AccountOrderDomainServiceImpl implements AccountOrderDomainService {

    @Autowired
    private AccountOrderReqDtoConvertor accountOrderReqDtoConvertor;

    @Autowired
    private AccountOrderResDtoConvertor accountOrderResDtoConvertor;

    private IPService<AccountOrderPo> accountOrderPoService;

    @SuppressWarnings("SpringJavaAutowiringInspection")
    public AccountOrderDomainServiceImpl(AccountOrderMapper accountOrderMapper) {
        this.accountOrderPoService = new BasePService(accountOrderMapper);
    }
}